package com.mfg.service;

import com.mfg.pojo.Wallet;

import java.math.BigDecimal;

public interface WalletService {

    BigDecimal getMoneyInWallet(Integer userId);

    boolean consumeHundred(Integer userId, BigDecimal decreaseMoney);

    Wallet getMoneyAndIdByUserId(Integer userId);

    boolean refundToWallet(Wallet wallet);

}
